<div id="header">
    <nav class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <a class="navbar-brand" href="dashboard.html">Loear.<span class="slogan">admin</span></a>
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                <span class="sr-only">导航切换</span>
                <span class="icon16 icomoon-icon-arrow-4"></span>
            </button>
        </div>
        <div class="collapse navbar-collapse navbar-ex1-collapse">
            <ul class="nav navbar-nav">
                <li>
                    <a href="{:url('admin/System/dashboard')}">
                        <span class="icon16 icomoon-icon-screen-2"></span>
                        <span class="txt">管理面板</span>
                    </a>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="icon16 icomoon-icon-grid-3"></span><span class="txt"> 网站前台</span>
                        <!--<span class="notification">8</span>-->
                    </a>
                    <ul class="dropdown-menu">
                        <li class="menu">
                            <ul>
                                <li>
                                    <a href="javascript:void(0)" target="_blank">
                                        <span class="icon16 icomoon-icon-home"></span>
                                        前台首页
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>

            <ul class="nav navbar-right usernav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle avatar" data-toggle="dropdown">
                        <img src="{if condition="$login.image AND $login.image.type neq 3"}{$login.image.url}{else/}/images/unknow.png{/if}" alt="" class="image"/>
                        <span class="txt">{$login.nickname}</span>
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="menu">
                            <ul>
                                <li>
                                    <a href="javascript:void(0)">
                                        <span class="icon16 icomoon-icon-user-plus"></span>
                                        编辑信息
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);" onclick="logout();">
                        <span class="icon16 icomoon-icon-exit"></span><span class="txt"> 退出登录</span>
                    </a>
                </li>
            </ul>
        </div><!-- /.nav-collapse -->
    </nav><!-- /navbar -->

</div><!-- End #header -->